package com.ruoyi.project.system.info.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 base_family_member_info
 * 
 * @author ruoyi
 * @date 2023-02-18
 */
public class BaseFamilyMemberInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 户编号 */
    @Excel(name = "户编号")
    private String fid;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 与户主关系 */
    @Excel(name = "与户主关系")
    private Integer relationship;

    /** 民族 */
    @Excel(name = "民族")
    private String nationality;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private Integer educationDegree;

    /** 在校生状况 */
    @Excel(name = "在校生状况")
    private String studentStatus;

    /** 健康情况 */
    @Excel(name = "健康情况")
    private Integer healthCondition;

    /** 劳动技能 */
    @Excel(name = "劳动技能")
    private Integer laborSkill;

    /** 贫困原因 */
    @Excel(name = "贫困原因")
    private Integer povertyCause;

    /** 人员识别时间 */
    @Excel(name = "人员识别时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationTime;

    /** 成员状态(0-活着 1-死亡) */
    @Excel(name = "成员状态(0-活着 1-死亡)")
    private Integer state;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setFid(String fid)
    {
        this.fid = fid;
    }

    public String getFid()
    {
        return fid;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getIdCard()
    {
        return idCard;
    }
    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }
    public void setRelationship(Integer relationship)
    {
        this.relationship = relationship;
    }

    public Integer getRelationship()
    {
        return relationship;
    }
    public void setNationality(String nationality)
    {
        this.nationality = nationality;
    }

    public String getNationality()
    {
        return nationality;
    }
    public void setEducationDegree(Integer educationDegree)
    {
        this.educationDegree = educationDegree;
    }

    public Integer getEducationDegree()
    {
        return educationDegree;
    }
    public void setStudentStatus(String studentStatus)
    {
        this.studentStatus = studentStatus;
    }

    public String getStudentStatus()
    {
        return studentStatus;
    }
    public void setHealthCondition(Integer healthCondition)
    {
        this.healthCondition = healthCondition;
    }

    public Integer getHealthCondition()
    {
        return healthCondition;
    }
    public void setLaborSkill(Integer laborSkill)
    {
        this.laborSkill = laborSkill;
    }

    public Integer getLaborSkill()
    {
        return laborSkill;
    }
    public void setPovertyCause(Integer povertyCause)
    {
        this.povertyCause = povertyCause;
    }

    public Integer getPovertyCause()
    {
        return povertyCause;
    }
    public void setRegistrationTime(Date registrationTime)
    {
        this.registrationTime = registrationTime;
    }

    public Date getRegistrationTime()
    {
        return registrationTime;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }

    public Integer getState()
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fid", getFid())
            .append("name", getName())
            .append("idCard", getIdCard())
            .append("age", getAge())
            .append("relationship", getRelationship())
            .append("nationality", getNationality())
            .append("educationDegree", getEducationDegree())
            .append("studentStatus", getStudentStatus())
            .append("healthCondition", getHealthCondition())
            .append("laborSkill", getLaborSkill())
            .append("povertyCause", getPovertyCause())
            .append("registrationTime", getRegistrationTime())
            .append("state", getState())
            .toString();
    }
}
